package com.zyong.design.pattern.decorator.case2;

/**
 * @program: zyong-design-pattern
 * @ClassName: FiredNoodles
 * @author: zyong
 * @create: 2024-04-28 00:21
 */
public class FiredNoodles extends FastFood {
    public FiredNoodles() {
        super(12, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
